//行业分类
import React, { Component } from 'react'
import {
    View,
    Text,
    TouchableOpacity,
} from 'react-native';

import { rtopeditStyle as styles } from '../../../../styles';
import Icon from 'react-native-vector-icons/Ionicons';
var Dimensions = require('Dimensions');
var width = Dimensions.get('window').width;
var height = Dimensions.get('window').height;

export default class Tradep_top extends Component {
    constructor(props) {
        super(props);
    }
    render() {
        return (
            <View style={[styles.rtopin, {
                width: width * 1,
                elevation: 5,
                shadowColor: 'black',
                shadowOpacity: 1,
                shadowRadius: 5
            }]}>

                <TouchableOpacity activeOpacity={1} style={styles.rtopicon1} onPress={() => { this.props.navigation.goBack() }}>
                    <Icon
                        name={'ios-arrow-back'}
                        size={25}
                        color={'#ffffff'} />
                </TouchableOpacity>
                <Text style={styles.rtoptext}>{this.props.rowName}</Text>
            </View >

        )
    }
}